.mega-menu {
	list-style: none outside none;
	border-bottom: 1px solid #000;
	width: 100%;
	display: block;
	min-height:1em; /*ff*/
	height: auto !important; /*ie7 */
	height: 1em; /*ie6 */
	background-color: #eee;
}
.mega-menu > li {
	border: 1px solid black;
	border-bottom: none;
	float: left;
	position: relative;
	margin-left: -1px;
	margin-right: 10px;
}
.mega-menu > li > a {
	display: block;
	text-decoration: none;
}
.mega-menu > li:hover {
	background:#eee;
	border-bottom:0; /* border-bottom:0; and padding-bottom:1px; keeps <li> and <div> connected */
	padding:7px 0 1px 0;
	margin-top:-7px;
	z-index:1; /* shadow above adjacent li */
}
.mega-menu > li > div {
	position:absolute;
	display: none;
	width:350px;
	padding:0 10px 10px;
	border:1px solid #000;
	border-top:0;
	font-weight:normal;
	text-align:left;
	background:#eee;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
.mega-menu > li:hover div {
	left:-1px;
	top:auto;
	display: block;
	padding: 10px;
}
.mega-menu > li.right:hover div {
	left:-221px;
	width: 243px;
}
.mega-menu > li.right {
	float:right;
}

